package com.cskaoyan.chapter0501.chapter050108;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author:WalterChan
 * @Decription:Employee
 * @Date Created in 2024-05-19-15:31
 */
public class Employee extends Person{
    public Employee(String name) {
        super(name);
    }



    private BigDecimal salary;
    private Date hireDay;




    @Override
    public String getDescription() {

        return "i am a Employee";
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public Date getHireDay() {
        return hireDay;
    }

    public void setHireDay(Date hireDay) {
        this.hireDay = hireDay;
    }
}
